<ui:composition template="template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html">
    <ui:define name="conteudo">
        <h:form>
            <h2>Cadastrando fotos para os cursos</h2><br />
            Insira as imagens:
            <br/>
            <input type="file"/>
            <br/><br/>
            Selecione o curso:<br />
            <h:selectOneListbox  id="nomeCursos" required="true" requiredMessage="Selecione o Curso"/>
            <br/><br/>
            <h:commandButton type="submit" value="Criar" action="#{formFotosCursos.save}" />
            <h:commandButton type="reset" value="Limpar" />
        </h:form>
    </ui:define>
</ui:composition>